From 458ff682e3a34c34ddce36e259c067f25a232f21 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 31 Mar 2008 02:01:36 +0000 Subject: [PATCH] If time is available from Garmin, add that to waypoint in get_posn suboption. --- garmin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/garmin.c b/garmin.c index 7048bd9b0..81a95675b 100644 --- a/garmin.c +++ b/garmin.c @@ -265,6 +265,8 @@ waypt_read(void) wpt->latitude = gps_save_lat; wpt->longitude = gps_save_lon; wpt->shortname = xstrdup("Position"); + if (gps_save_time) + wpt->creation_time = gps_save_time; waypt_add(wpt); return; } -- 2.30.2